package cn.com.taiji.oospub.wechat.entity;

import cn.com.taiji.entity.StringUUIDEntity;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 账户交易储值流水
 * </p>
 *
 * @author yzd
 * @since 2020-12-31
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class MemberStoreOrder extends StringUUIDEntity implements Serializable {

    private static final long serialVersionUID = 1L;
    

    /**
     * 所属顾客
     */
    @TableField("CUSTOMER_ID")
    private String customerId;

    /**
     * 是否支付(0:否1:是)
     */
    @TableField("IS_PAY")
    private String isPay;

    /**
     * 所属账户
     */
    @TableField("ACCOUNT_ID")
    private String accountId;

    /**
     * 流水单号
     */
    @TableField("FLOW_NO")
    private String flowNo;

    /**
     * 操作前金额
     */
    @TableField("BEFORE_AMOUNT")
    private Double beforeAmount;

    /**
     * 操作(增减)金额
     */
    @TableField("ACTUAL_AMOUNT")
    private Double actualAmount;

    /**
     * 操作后金额
     */
    @TableField("AFTER_AMOUNT")
    private Double afterAmount;

    /**
     * 创建时间
     */
    @TableField("CREATE_TIME")
    private LocalDateTime createTime;

    /**
     * 是否上传(0:否1:是)
     */
    @TableField("UPDATE_OUT")
    private String updateOut;


}
